package com.example.demo.dao;

import java.util.Date;

public class Blog_diary {
    private Integer diaryId;

    private String diaryContent;

    private Date diaryTime;

    private Integer diaryPid;

    public Integer getDiaryId() {
        return diaryId;
    }

    public void setDiaryId(Integer diaryId) {
        this.diaryId = diaryId;
    }

    public String getDiaryContent() {
        return diaryContent;
    }

    public void setDiaryContent(String diaryContent) {
        this.diaryContent = diaryContent == null ? null : diaryContent.trim();
    }

    public Date getDiaryTime() {
        return diaryTime;
    }

    public void setDiaryTime(Date diaryTime) {
        this.diaryTime = diaryTime;
    }

    public Integer getDiaryPid() {
        return diaryPid;
    }

    public void setDiaryPid(Integer diaryPid) {
        this.diaryPid = diaryPid;
    }
}